@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");

/*
|
|--------------------------------------------------------------------------
|                            S U M Á R I O
|--------------------------------------------------------------------------
|
| Desktop
|
| 1. Global
| 2. Seções
| 3. Artigos
| 4. Botões
| 5. Cabeçalho e menu
| 6. Modais
| 7. Caixas de texto
| 8. Formulários
| 9. Rodapé
|
| Mobile
|
| 1. Seções
| 2. Artigos
| 3. Cabeçalho e menu
| 4. Modais
| 5. Banners
| 6. Formulários
| 7. Rodapé
|
*/

/*
|--------------------------------------------------------------------------
| Desktop
|--------------------------------------------------------------------------
*/

/* 
| 1. Global
*/

* {
  box-sizing: border-box;
  list-style: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  padding: 100px 0 0 0;
}

/* 
| 2. Seções
*/

section {
  background-color: #404040;
  color: #fff;
  padding: 3%;
  width: 100%;
}

section img{
  width: 50%;
}

.white-section {
  align-items: center;
  display: inline-flex;
}

.white-section img{
  margin: 0 2% 0 2%;
}

.gray-section h1{
  font-size: 30px;
  font-weight: lighter;
  margin: 0 0 3% 0;
  text-align: center;
}

.carroussel{
  align-items: center;
  display: inline-flex;
}

.carroussel h1{
  font-size: 30px;
  line-height: 1.5;
  margin-bottom: 40px;
}

.intro{
  margin-left: 4%;
}

/* 
| 3. Artigos
*/

article{
  padding: 0 15%;
  line-height: 1.5;
}

article img{
  border-radius: 15px;
  margin: 20%;
  float: right;
}

article h1{
  font-size: xx-large;
  margin: 20px 0;
}

article h2{
  font-size: x-large;
  margin: 18px 0;
}

article h3{
  font-size: larger;
  margin: 16px 0;
}

article h4{
  font-size: large;
  margin: 14px 0;
}

article h5{
  font-size: medium;
  margin: 12px 0;
}

article p{
  margin: 10px 0;
  color: #fff;
}

article span{
  color: #fff;
  font-weight: lighter;
  font-size: small;
}

article img{
  margin: 30px 0;
}

/* 
| 4. Botões
*/

button{
  background-color: #d42e12;
  border: none;
  border-radius: 10px;
  box-shadow: 2px 2px 6px 0px rgba(50, 50, 50, 0.2);
  color: #ffffff;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  outline: none;
  padding: 15px 25px;
}

button:hover {
  box-shadow: 2px 2px 6px 0px rgba(50, 50, 50, 0.5);
  font-size: 115%;
  transition: 0.5s;
}

/* 
| 5. Cabeçalho e menu
*/

nav {
  background-color: #d42e12;
  box-shadow: 2px 2px 6px 0px rgba(50, 50, 50, 0.4);
  height: 100px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

nav ul {
  float: right;
  margin-right: 100px;
}

nav ul li {
  display: inline-block;
  line-height: 100px;
  margin: 0 5px;
}

nav ul li a {
  border-radius: 5px;
  color: #ffffff;
  font-size: 15px;
  padding: 7px 13px;
}

nav a:hover {
  font-size: 110%;
  font-weight: bold;
  transition: 0.5s;
}

.contact-button {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 2px 2px 6px 0px rgba(50, 50, 50, 0.2);
  color: #d42e12;
  padding: 10px 20px;
}

.contact-button:hover{
  box-shadow: 2px 2px 6px 0px rgba(50, 50, 50, 0.5);
  font-size: 115%;
  font-weight: normal;
  transition: 0.5s;
}

.logo {
  bottom: 10%;
  height: 80%;
  padding-left: 100px;
  position: absolute;
  top: 10%;
}

.check-button {
  font-size: 30px;
  color: #ffffff;
  float: right;
  line-height: 100px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

/* 
| 6. Modais
*/

.modal-box{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal{
  margin: 2%;
  padding: 2%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 2px 6px 0px rgba(50, 50, 50, 0.4);
  background-color: #ffffff;
  width: 250px;
  height: 250px;
}

.rounded{
  border-radius: 100%;
}

.squared{
  border-radius: 15px;
}

.modal p{
  text-align: center;
}



/* 
| 7. Caixas de texto
*/

.text-box{
  width: 35%;
  padding: 4% 3%;
  border-radius: 15px;
  background-color: #ffffff;
  color: #000000;
  box-shadow: 2px 2px 6px 0px rgba(50, 50, 50, 0.4);
  margin-right: 2%;
  margin-left: 2%;
  line-height: 1.5;
}

.text-box h1{
  font-size: 40px;
  font-weight: lighter;
  margin-bottom: 5%;
}

.text-box p{
  font-weight: lighter;
  margin-top: 3%;
  margin-bottom: 3%;
  color: #404040;
}

.text-box button{
  margin-top: 5%;
}

/* 
| 8. Formulários
*/

form{
  width: 50%;
}

form h1{
  font-size: 30px;
  font-weight: lighter;
  margin-bottom: 30px;
}

.input-fields{
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 30px;
  width: 70%;
}

.input-fields input, .input-fields textarea{
  margin: 15px 0;
  border: 0px;
  outline: none;
  padding: 10px;
  color:  #d42e12;
  width: 100%;
  border-radius: 10px;
  box-shadow: 2px 2px 6px 0px rgba(50, 50, 50, 0.4);
}

/* 
| 9. Rodapé
*/

footer {
  text-align: center;
  background-color: #d42e12;
  color: #ffffff;
  padding: 30px;
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 952px) {
  img.logo {
    height: 80%;
    padding-left: 50px;
  }
  nav ul li a {
    font-size: 14px;
  }
  article{
    padding: 0 10%;
  }

  .title{
    height: 20%;
    margin-bottom: 3%;
  }
  
  .article-header-img{
    height: 82%;
  }
}

@media (max-width: 858px) {
  body {
    padding-top: 80px;
  }

  .check-button {
    display: block;
    line-height: 80px;
  }
  ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #3f3d56;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
  }
  nav {
    height: 80px;
  }
  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }

  nav ul li a {
    font-size: 20px;
  }

  .contact-button {
    color: #ffffff;
    background-color: #d42e12;
  }

  .contact-button:hover {
    background-color: #ffffff;
  }

  a:hover {
    font-size: 110%;
    background: none;
    color: #d42e12;
  }

  #check:checked ~ ul {
    left: 0;
  }

  section{
    padding: 5%;
    flex-direction: column;
    text-align: center;
  }

  section img{
    width: 100%;
    order: 2;
  }
  
  .intro{
    margin-left: 0;
    margin-bottom: 40px;
  }

  .text-box{
    width: 100%;
    margin-bottom: 40px;
    order: 1;
  }

  form{
    width: 100%;
    margin-bottom: 40px;
  }

  .input-fields{
    width: 100%;
  }

  .modal-box{
    flex-direction: column;
  }

  .modal{
    width: 100%;
    height: calc(100% * 100%);
    margin: 5% 0;
  }

  .modal img{
    width: 50%;
  }

  article{
    padding: 8%;
    text-align: left;
  }

}

/*
|--------------------------------------------------------------------------
| Animações
|--------------------------------------------------------------------------
*/

@keyframes has-shown{

  form{
    opacity: 0;
    transform: translateY(50px);
  }
  to{
    opacity: 1;
    transform: none;
  }

}

.has-shown{
  animation: has-shown 2s ease-in-out;
}


